#ifndef REPLYCOMMENT_H
#define REPLYCOMMENT_H

#include <QWidget>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QMessageBox>
#include <QDebug>
#include <QSqlError>
#include <QStringList>
#include <QKeyEvent>

namespace Ui {
class replyComment;
}

class replyComment : public QWidget
{
    Q_OBJECT

public:
    explicit replyComment(QWidget *parent = nullptr);
    ~replyComment();
    void set(int id,QString customer,QString comment,QString extra);

private slots:
    void on_confirmBtn_clicked();

private:
    Ui::replyComment *ui;
    QSqlDatabase db;
    int id;
    QString extra;
};

#endif // REPLYCOMMENT_H
